import request from '@/utils/request';
import { TableListParams } from './data.d';

export async function queryUserApplyRecord(params: TableListParams) {
  return request(MC_PATH + '/api/customer/' + params.cstId + '/user/applyrecord', {
    params,
  });
}

export async function approval(data) {
  return request(MC_PATH + '/api/customer/user/rel/approval', {
    method: 'PUT',
    requestType: 'form',
    data: data,
  });
}
